package net.ashrentum;

public class Matcher {
	
	Pattern pattern;
	String input;
	
	int groupCount;
	String[] groups;

	Matcher(Pattern pattern, CharSequence input) {
		this.pattern = pattern;
		this.input = input.toString();
	}
	
	public boolean matches() {
		return pattern.regex.matches(input);
		
	}
	
	
}
